import request from '@/utils/request'

// 查询约印医疗-项目管理-内部尽调列表
export function listSysYueyinDealDueDiligence(query) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/list',
    method: 'get',
    params: query
  })
}

// 查询约印医疗-项目管理-内部尽调详细
export function getSysYueyinDealDueDiligence(id) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/' + id,
    method: 'get'
  })
}

// 保存约印医疗-项目管理-内部尽调
export function saveSysYueyinDealDueDiligence(data) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/save',
    method: 'post',
    data: data
  })
}

// 删除约印医疗-项目管理-内部尽调
export function delSysYueyinDealDueDiligence(id) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/' + id,
    method: 'delete'
  })
}

// 导出约印医疗-项目管理-内部尽调
export function exportSysYueyinDealDueDiligence(query) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/export',
    method: 'get',
    params: query
  })
}

// 查询初始数据
export function getByWfNodeId(id) {
  return request({
    url: '/diligence/sysYueyinDealDueDiligence/getByWfNodeId/' + id,
    method: 'get'
  })
}
